<template>
	<view class="topic-mainImg">
		<image :src="imgUrl" mode="widthFix"></image>
	</view>
</template>

<script>
	export default {
		name: "oneImg",
		props: {
			imgUrl: {
				type: String,
				default: ''
			},
		},
	}
</script>

<style lang="scss" scoped>
	.topic-mainImg {
		margin: 0rpx 30rpx 0rpx 30rpx;
		border-radius: 25px;
		overflow: hidden;
	}

	.topic-mainImg image {
		width: 100%
	}
</style>
